package com.zhanghe.mall.service;

import com.zhanghe.mall.pojo.Manager;
import com.zhanghe.mall.service.vo.ManagerInfoVO;
import com.zhanghe.mall.service.vo.ManagerPermissionsVO;

import java.util.List;

public interface ManagerService {

    Manager findByGithubAuthid(Long githubAuthid);

    Manager findByUserName(String userName);

    ManagerInfoVO findManagerInfoVOByUserName(String userName);

    List<ManagerPermissionsVO> getManagerAllPermissions(Long managerId);
}
